import Vue from 'vue';
import Element from 'element-ui';
import './assets/styles/element-variables.scss';

import '@/assets/styles/index.scss';
import '@/assets/font/iconfont.css';
import '@/assets/styles/default/index.scss';

import App from './App';
import store from './store';
import router from './router';
import directive from './directive';
import './router/permission';
import plugins from './plugins';

Vue.use(directive);
Vue.use(plugins);
Vue.use(Element, {
  size: 'medium'
});
Vue.config.productionTip = false;

const app = new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
});
